package com.example.zhc36.fragment.bean;




import java.util.List;

import io.realm.RealmObject;
import io.realm.annotations.PrimaryKey;

public class javabean<T>  {
    @PrimaryKey
    private int id;
    private String name;
    private  T  friends;

    @Override
    public String toString() {
        return "javabean{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", friends=" + friends +
                '}';
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public T getFriends() {
        return friends;
    }

    public void setFriends(T friends) {
        this.friends = friends;
    }

    public javabean(int id, String name, T friends) {

        this.id = id;
        this.name = name;
        this.friends = friends;
    }

    public javabean() {

    }
}
